﻿using System.Collections.Generic;
using System.Text;

namespace SDT.CrawlSystem.Servers.Filters
{
    /// <summary>
    /// Written by TungNX
    /// </summary>
    public interface IFilter
    {
        Encoding Encode { get; }
        Tag TheTag { get; }
        Txt TheTxt { get; }
        PathImageFilter ImagePathFilter { get; }
        ExtraLinkFilter ExLinkFilter { get; }
        Filter.Regions DataSource { get; }

        string DoFilter(string htm, string txt, ref string output);
        string DoFilter(string htm, string txt,ref string output, bool isHtml);
    }
}